home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 75
/
MOBICLIC 75.ISO
/
pc
/
DATA
/
TOUTEDIT
/
TOUT_MATOS.cst
/
00001_Script_SCRIPTS_GENES_TOUTEDIT
next >
Wrap
Text File
|
2005-06-15
|
1KB
|
57 lines
global gL_TOUT
---------------
on initTOUT
if voidP(gL_TOUT) then
gL_TOUT = [0,0,0,0]
end if
end
----------
on testeVisite NoNAVI
return gL_TOUT[NoNAVI]
end
--------------
on plugTOUT
v = zNoSRub()-1
u = gL_TOUT[v]
case(u) of
0: -------------aucune Θtape franchie dans le dir de ce navigateur
if v = 1 then--on est dans TOUT01(Cristophe Colomb)
L = ["TOUT02","TOUT03","TOUT04"]
if L.getPos(zLast()) > 0 then--si on vient d'un autre dir de navigateur
_movie.go("PRESA")--on commence au label presA
else
nothing--on lance le dir α la frame 1
end if
else---------on est dans TOUT02,TOUT03 ouTOUT04
nothing--on lance le dir α la frame 1 ("presA")
end if
otherwise-------au moins une Θtape franchie dans le dir de ce navigateur
case(v) of
1:
max = 7
2:
max = 6
3:
max = 11
4:
max = 6
end case
if u = max then----la derniΦre Θtape de ce dir a ΘtΘ franchie
_movie.go("FIN")
else
if v = 1 then
case(u) of
6:
_movie.go("07")
otherwise
_movie.go("INDICE_"&gimme2digits(u + 1))
end case
else
_movie.go("INDICE_"&gimme2digits(u + 1))
end if
end if
end case
end
--------------